<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<% import cgi %>
<html>
	<head>
	<link rel="stylesheet" href="/styles/thewall.css"/>
</head>
<body>
		<form action="${url_for('add_patch')}" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></div>
      <div><input type="submit" value="Add patch"></div>
		</form>	
		<div class="thewall">
		% for patch in patches:
			<div class="patch" style="top: ${patch.wheretop}%; left: ${patch.whereleft}%; border: 1px dotted #${'%06x' % patch.bordercolor}; background-color: #${'%06x' % patch.backgroundcolor}; color: #${'%06x' % patch.textcolor};">
			${cgi.escape(patch.what)}
		</div>
		% endfor
	</div>
	</body>	
</html>

